package com.springcloud.sc.ucpv5.client.commondata.idl.sj3;


/**
 * Generated from IDL struct "Group".
 *
 * @author JacORB IDL compiler V 2.3-beta-2, 14-Oct-2006
 * @version generated at 2014-10-29 11:48:54
 */

public final class GroupHelper
{
	private static org.omg.CORBA.TypeCode _type = null;
	public static org.omg.CORBA.TypeCode type ()
	{
		if (_type == null)
		{
			_type = org.omg.CORBA.ORB.init().create_struct_tc(com.springcloud.sc.ucpv5.client.commondata.idl.sj3.GroupHelper.id(),"Group",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("GroupTelno", org.omg.CORBA.ORB.init().create_string_tc(0), null),new org.omg.CORBA.StructMember("ParGrpTelno", org.omg.CORBA.ORB.init().create_string_tc(0), null),new org.omg.CORBA.StructMember("GroupName", org.omg.CORBA.ORB.init().create_string_tc(0), null),new org.omg.CORBA.StructMember("GroupType", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)), null),new org.omg.CORBA.StructMember("Point_x", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)), null),new org.omg.CORBA.StructMember("Point_y", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)), null),new org.omg.CORBA.StructMember("ip", org.omg.CORBA.ORB.init().create_string_tc(0), null),new org.omg.CORBA.StructMember("port", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)), null),new org.omg.CORBA.StructMember("VoiceOpen", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)), null),new org.omg.CORBA.StructMember("MessageOpen", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)), null),new org.omg.CORBA.StructMember("DataSerOpen", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)), null),new org.omg.CORBA.StructMember("Supplement", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)), null),new org.omg.CORBA.StructMember("GCallTimer", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)), null),new org.omg.CORBA.StructMember("Priority", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)), null),new org.omg.CORBA.StructMember("FreeTimer", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)), null),new org.omg.CORBA.StructMember("LETime", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)), null),new org.omg.CORBA.StructMember("longitude", org.omg.CORBA.ORB.init().create_string_tc(0), null),new org.omg.CORBA.StructMember("latitude", org.omg.CORBA.ORB.init().create_string_tc(0), null),new org.omg.CORBA.StructMember("zoom", org.omg.CORBA.ORB.init().create_string_tc(0), null),new org.omg.CORBA.StructMember("GroupTypeTmp", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)), null),new org.omg.CORBA.StructMember("IconName", org.omg.CORBA.ORB.init().create_string_tc(0), null),new org.omg.CORBA.StructMember("GroupNodeFlag", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)), null),new org.omg.CORBA.StructMember("NodeNumber", org.omg.CORBA.ORB.init().create_string_tc(0), null),new org.omg.CORBA.StructMember("keep1", org.omg.CORBA.ORB.init().create_string_tc(0), null),new org.omg.CORBA.StructMember("keep2", org.omg.CORBA.ORB.init().create_string_tc(0), null),new org.omg.CORBA.StructMember("keep3", org.omg.CORBA.ORB.init().create_string_tc(0), null),new org.omg.CORBA.StructMember("keep4", org.omg.CORBA.ORB.init().create_string_tc(0), null)});
		}
		return _type;
	}

	public static void insert (final org.omg.CORBA.Any any, final com.springcloud.sc.ucpv5.client.commondata.idl.sj3.Group s)
	{
		any.type(type());
		write( any.create_output_stream(),s);
	}

	public static com.springcloud.sc.ucpv5.client.commondata.idl.sj3.Group extract (final org.omg.CORBA.Any any)
	{
		return read(any.create_input_stream());
	}

	public static String id()
	{
		return "IDL:com/client/idl/sj3/Group:1.0";
	}
	public static com.springcloud.sc.ucpv5.client.commondata.idl.sj3.Group read (final org.omg.CORBA.portable.InputStream in)
	{
		com.springcloud.sc.ucpv5.client.commondata.idl.sj3.Group result = new com.springcloud.sc.ucpv5.client.commondata.idl.sj3.Group();
		result.GroupTelno=in.read_string();
		result.ParGrpTelno=in.read_string();
		result.GroupName=in.read_string();
		result.GroupType=in.read_long();
		result.Point_x=in.read_long();
		result.Point_y=in.read_long();
		result.ip=in.read_string();
		result.port=in.read_long();
		result.VoiceOpen=in.read_long();
		result.MessageOpen=in.read_long();
		result.DataSerOpen=in.read_long();
		result.Supplement=in.read_long();
		result.GCallTimer=in.read_long();
		result.Priority=in.read_long();
		result.FreeTimer=in.read_long();
		result.LETime=in.read_long();
		result.longitude=in.read_string();
		result.latitude=in.read_string();
		result.zoom=in.read_string();
		result.GroupTypeTmp=in.read_long();
		result.IconName=in.read_string();
		result.GroupNodeFlag=in.read_long();
		result.NodeNumber=in.read_string();
		result.keep1=in.read_string();
		result.keep2=in.read_string();
		result.keep3=in.read_string();
		result.keep4=in.read_string();
		return result;
	}
	public static void write (final org.omg.CORBA.portable.OutputStream out, final com.springcloud.sc.ucpv5.client.commondata.idl.sj3.Group s)
	{
		out.write_string(s.GroupTelno);
		out.write_string(s.ParGrpTelno);
		out.write_string(s.GroupName);
		out.write_long(s.GroupType);
		out.write_long(s.Point_x);
		out.write_long(s.Point_y);
		out.write_string(s.ip);
		out.write_long(s.port);
		out.write_long(s.VoiceOpen);
		out.write_long(s.MessageOpen);
		out.write_long(s.DataSerOpen);
		out.write_long(s.Supplement);
		out.write_long(s.GCallTimer);
		out.write_long(s.Priority);
		out.write_long(s.FreeTimer);
		out.write_long(s.LETime);
		out.write_string(s.longitude);
		out.write_string(s.latitude);
		out.write_string(s.zoom);
		out.write_long(s.GroupTypeTmp);
		out.write_string(s.IconName);
		out.write_long(s.GroupNodeFlag);
		out.write_string(s.NodeNumber);
		out.write_string(s.keep1);
		out.write_string(s.keep2);
		out.write_string(s.keep3);
		out.write_string(s.keep4);
	}
}
